package com.ygqh.baby.service;

import com.ygqh.baby.ao.Message;
import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.YgAgentLevel;

import java.util.List;

/**
 * @Author: sunshuo
 * @Date: 2019/9/16/016 16:27
 * @Version: 1.0
 */
public interface YgAgentLevelService {

    List<YgAgentLevel> find();

	int findCount();

	YgAgentLevel findById(Long id);

	int deleteSoft(Long[] ids, String handler);

	int deleteSoft(Long id, String handler);

	int save(YgAgentLevel ygAgentLevel);

	int update(YgAgentLevel ygAgentLevel);

	int saveOrUpdate(YgAgentLevel ygAgentLevel);

	ResultSet<YgAgentLevel> search(QueryInfo queryInfo, String q);

    Message edit(YgAgentLevel agentLevel);
}
